package persistence;

import java.util.Map;
import model.User;

public interface UserDAO {

    public boolean connection(String user, String pass, String driver, String url);

    public boolean disconnect();

    public boolean newUser(User user);

    public User getUserByEmail(String userEmail);

    public User getUserByNickName(String userNickName);

    public Map<String, User> getUserMap();
}
